import axiosRequest from "@/api/axiosRequest.ts";

const BaseUrl = '/admin/tag'

const getTagPage = (page:number=1, pageSize?:number) => axiosRequest({
    url: BaseUrl + '/page',
    method: 'GET',
    params: {
        current: page,
        size: pageSize
    }
})

export const tagApi = {
    getTagList : () => axiosRequest.get(BaseUrl + '/list'),
    getTagPage
}
